/**
 * @description  setting 页面默认配置    1高速 2公路 不传全路网
 * @author 朱琦
 * @date   2022/8/3
 */
const space = '12px'
const panelWidth = 403

// 按钮配置
const btnConfig = []

const pageConig = {
  theme: 'light',
  type: '', // 页面类型
  header: {
    show: true,
    title: '江苏省智慧路网云控平台',
    style: {}
  }
}
// 综合分析
const zhfxConfig = {
  theme: 'light',
  type: 'menu.second.detail', // 页面类型
  header: {
    show: true,
    title: '江苏省智慧路网云控平台',
    style: {},
    selectConfig: ['areaCode', 'roadType'],
    areaCode: 320000,
    roadType: ''
  },
  layout: {
    spanNum: 24, // 布局栅格总数
    // 布局容器列表
    containerList: [
      {
        id: 'layoutLeft', // 唯一标识
        ratio: [panelWidth, 840], // 比例
        direction: 'column', // 布局方式
        height: '100%',
        style: {},
        transitionType: 'left',
        // 子容器列表
        childList: [
          {
            id: 'traffic',
            component: 'traffic', // 组件名
            componentProps: {}, // 组件的属性
            routeName: 'traffic', // 菜单组件对应的路由名
            span: 5, // 子容器的栅格数
            style: {}, // 子容器样式
            // 交通态势二级子容器
            childList: [
              {
                id: 'traffic-section',
                component: 'traffic-section',
                span: 9,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'traffic-section-detail',
                    // 父容器的比例
                    parentRatio: [982, 428]
                  }
                ]
              },
              {
                id: 'traffic-warn',
                component: 'traffic-warn',
                span: 9,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'traffic-warning-detail'
                  }
                ]
              },
              {
                id: 'traffic-level',
                component: 'traffic-level',
                span: 6,
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'traffic-level-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'flow',
            component: 'flow',
            routeName: 'flow',
            span: 9,
            style: {
              paddingTop: space,
              paddingBottom: space
            },
            // 流量二级子容器
            childList: [
              {
                id: 'flow-drive',
                component: 'flow-drive',
                span: 5,
                style: {
                  paddingBottom: space
                }
              },
              {
                id: 'flow-car',
                component: 'flow-car',
                span: 6,
                style: {
                  paddingBottom: space
                }
              },
              {
                id: 'flow-boundary',
                component: 'flow-boundary',
                span: 6.5,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-boundary-detail'
                  }
                ]
              },
              {
                id: 'flow-channel',
                component: 'flow-channel',
                span: 6.5,
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-channel-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'event',
            component: 'event',
            routeName: 'event',
            span: 5,
            style: {
              paddingBottom: space
            },
            // 事件二级子容器
            childList: [
              {
                id: 'event-list',
                component: 'event-list',
                span: 9,
                // 详情配置
                detailConfig: [
                  {
                    type: 'panel',
                    component: 'event-detail',
                    // 父容器的比例
                    parentRatio: [panelWidth, 520]
                  },
                  {
                    type: 'map',
                    component: 'event-related-detail',
                    // 父容器的比例
                    parentRatio: [982, 428]
                  }
                ]
              },
              {
                id: 'event-sudden',
                component: 'event-sudden',
                span: 7.5,
                style: {
                  paddingTop: space
                }
              },
              {
                id: 'event-plan',
                component: 'event-plan',
                span: 7.5,
                style: {
                  paddingTop: space
                }
              }
            ]
          },
          {
            id: 'epidmic',
            component: 'epidemic',
            routeName: 'epidemic',
            span: 5,
            style: {},
            // 疫情防控二级子容器
            childList: [
              {
                id: 'epidemic-point',
                component: 'epidemic-point',
                span: 4,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'epidemic-point-detail'
                  }
                ]
              },
              {
                id: 'epidemic-car-source',
                component: 'epidemic-car-source',
                span: 6,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'epidemic-car-source-detail'
                  }
                ]
              },
              {
                id: 'epidemic-car',
                component: 'epidemic-car',
                span: 14
              }
            ]
          }
        ]
      },
      {
        id: 'layoutRight',
        type: 'child', // 标识为子路由的容器
        ratio: [panelWidth, 840],
        direction: 'column',
        height: '100%',
        right: '0',
        transitionType: 'right',
        style: {}
      },
      // 地图
      // {
      //     id: 'layoutMap',
      //     direction: 'column',
      //     height: '100%',
      //     right: ['layoutRight', 'width'],
      //     left: ['layoutLeft', 'width'],
      //     top: 0,
      //     bottom: 0,
      //     spanNum: 1, // 布局栅格总数
      //     style: {
      //         paddingLeft: '10px',
      //         paddingRight: '10px'
      //     },
      //     childList: [{
      //         id: 'map',
      //         component: 'map',
      //         span: 1
      //     }]
      // },
      // 地图详情布局容器
      {
        id: 'mapDetail',
        isDetail: true,
        type: 'map',
        ratio: [982, 232],
        direction: 'row',
        right: ['layoutRight', 'width'], // 距离右边 = id为'layoutRight' 的 'width'
        left: ['layoutLeft', 'width'],
        bottom: 0,
        transitionType: 'bottom',
        style: {
          paddingLeft: '10px',
          paddingRight: '5px'
        }
      },
      // 面板详情布局容器
      {
        id: 'panelDetail',
        isDetail: true,
        type: 'panel',
        ratio: [1, 1],
        direction: 'row',
        width: ['layoutRight', 'width'],
        right: 0,
        bottom: 0,
        transitionType: 'bottom',
        style: {
          paddingLeft: '5px'
        }
      }
    ]
  }
}

// 运行检测 高速
const yxjcGsConfig = {
  theme: 'light',
  type: 'menu.second.detail', // 页面类型
  header: {
    show: true,
    title: '指挥调度云控平台',
    style: {},
    areaCode: 320000,
    roadType: 1
  },
  layout: {
    spanNum: 24, // 布局栅格总数
    // 布局容器列表
    containerList: [
      {
        id: 'layoutLeft', // 唯一标识
        ratio: [panelWidth, 840], // 比例
        direction: 'column', // 布局方式
        height: '100%',
        style: {},
        transitionType: 'left',
        // 子容器列表
        childList: [
          {
            id: 'traffic',
            component: 'traffic', // 组件名
            componentProps: {}, // 组件的属性
            routeName: 'traffic', // 菜单组件对应的路由名
            span: 5, // 子容器的栅格数
            style: {}, // 子容器样式
            // 交通态势二级子容器
            childList: [
              {
                id: 'traffic-warn',
                component: 'traffic-warn',
                span: 24,
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'traffic-warning-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'flow',
            component: 'flow',
            routeName: 'flow',
            span: 9,
            style: {
              paddingTop: space,
              paddingBottom: space
            },
            // 流量二级子容器
            childList: [
              {
                id: 'flow-car',
                component: 'flow-car',
                span: 10,
                style: {
                  paddingBottom: space
                }
              },
              {
                id: 'flow-channel',
                component: 'flow-channel',
                span: 14,
                style: {},
                componentProps: {
                  showType: 'road' // channel road
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-channel-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'service-area',
            component: 'service-area',
            routeName: 'service-area',
            span: 5,
            componentProps: {
              showType: 'highway' // network or other
            },
            // 事件二级子容器
            childList: [
              {
                id: 'service-area-list',
                component: 'service-area-list',
                span: 24,
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'service-area-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'equipment',
            component: 'equipment',
            routeName: 'equipment',
            span: 5,
            style: {
              paddingTop: space
            },
            // 设备监测二级子容器
            childList: [
              {
                id: 'equipment-list',
                component: 'equipment-list',
                span: 24
              }
            ]
          }
        ]
      },
      // 智能侦测
      {
        id: 'intelligent',
        direction: 'row',
        ratio: [panelWidth, 310],
        width: ['layoutLeft', 'width'],
        top: 0,
        right: 0,
        spanNum: 1, // 布局栅格总数
        transitionType: 'right',
        childList: [
          {
            id: 'intelligent',
            component: 'intelligent',
            span: 1,
            // 详情配置
            detailConfig: [
              {
                type: 'panel',
                component: 'intelligent-detail',
                parentRatio: [panelWidth, 530]
              }
            ]
          }
        ],
        style: {
          paddingBottom: space
        }
      },
      {
        id: 'layoutRight',
        type: 'child', // 标识为子路由的容器
        ratio: [panelWidth, 530],
        direction: 'column',
        top: ['intelligent', 'height'],
        transitionType: 'right',
        right: 0,
        bottom: 0,
        style: {}
      },
      // 地图详情布局容器
      {
        id: 'mapDetail',
        isDetail: true,
        type: 'map',
        ratio: [982, 232],
        direction: 'row',
        right: ['layoutRight', 'width'], // 距离右边 = id为'layoutRight' 的 'width'
        left: ['layoutLeft', 'width'],
        bottom: 0,
        style: {
          paddingLeft: '10px',
          paddingRight: '5px',
          zIndex: 10
        },
        transitionType: 'bottom'
      },
      // 面板详情布局容器
      {
        id: 'panelDetail',
        isDetail: true,
        type: 'panel',
        ratio: [1, 1],
        direction: 'row',
        width: ['layoutRight', 'width'],
        right: 0,
        bottom: 0,
        style: {
          paddingLeft: '5px'
        },
        transitionType: 'bottom'
      }
      // {
      //   id: 'video-call',
      //   direction: 'column',
      //   width: '0.5rem',
      //   height: '0.5rem',
      //   right: ['layoutRight', 'width', 20], // 距离右边 = id为'layoutRight' 的 'width'
      //   bottom: '2.2rem',
      //   style: {
      //     overflow: 'initial'
      //   },
      //   spanNum: 1, // 布局栅格总数
      //   childList: [
      //     {
      //       id: 'video-call',
      //       component: 'video-call',
      //       span: 1,
      //       style: {
      //         overflow: 'initial'
      //       }
      //     }
      //   ]
      // },
      // {
      //   id: 'intelligent-warn',
      //   direction: 'column',
      //   width: '0.5rem',
      //   height: '0.5rem',
      //   right: ['layoutRight', 'width', 20], // 距离右边 = id为'layoutRight' 的 'width'
      //   bottom: '1.6rem',
      //   style: {
      //     overflow: 'initial'
      //   },
      //   spanNum: 1, // 布局栅格总数
      //   childList: [
      //     {
      //       id: 'intelligent-warn',
      //       component: 'intelligent-warn',
      //       span: 1,
      //       style: {
      //         overflow: 'initial'
      //       }
      //     }
      //   ]
      // }
    ],
    pageMapConfig: {
      componentProps: {
        menus: {
          topConfig: ['lk', 'sxj', 'qbb', 'clgj', 'wrj', 'qmjc', 'hld'], //, 'clgj', 'wrj', 'qmjc', 'hld'
          left: ['layoutLeft', 'width', 20]
        },
        aroundCamera: {
          right: ['intelligent', 'width', 70]
        }
      }
    }
  }
}
// 运行监测 公路
const yxjcGlConfig = {
  theme: 'light',
  type: 'menu.second.detail', // 页面类型
  header: {
    show: true,
    title: '江苏省智慧路网云控平台',
    style: {},
    areaCode: 320000,
    roadType: 2
  },
  layout: {
    spanNum: 24, // 布局栅格总数
    // 布局容器列表
    containerList: [
      {
        id: 'layoutLeft', // 唯一标识
        ratio: [panelWidth, 840], // 比例
        direction: 'column', // 布局方式
        height: '100%',
        style: {},
        transitionType: 'left',
        // 子容器列表
        childList: [
          {
            id: 'traffic',
            component: 'traffic', // 组件名
            componentProps: {}, // 组件的属性
            routeName: 'traffic', // 菜单组件对应的路由名
            span: 5, // 子容器的栅格数
            style: {}, // 子容器样式
            // 交通态势二级子容器
            childList: [
              {
                id: 'traffic-warn',
                component: 'traffic-warn',
                span: 24,
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'traffic-warning-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'flow',
            component: 'flow',
            routeName: 'flow',
            span: 9,
            style: {
              paddingTop: space,
              paddingBottom: space
            },
            // 流量二级子容器
            childList: [
              {
                id: 'flow-car',
                component: 'flow-car',
                secondName: 'flow-car',
                span: 10,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-car-detail'
                  }
                ]
              },
              {
                id: 'flow-channel',
                component: 'flow-channel',
                span: 14,
                style: {},
                componentProps: {
                  showType: 'road' // channel road
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-channel-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'event',
            component: 'event',
            routeName: 'event',
            span: 5,
            componentProps: {
              showType: 'highway' // network or other
            },
            // 事件二级子容器
            childList: [
              {
                id: 'event-list',
                component: 'event-list',
                span: 24,
                // 详情配置
                detailConfig: [
                  {
                    type: 'panel',
                    component: 'event-detail',
                    // 父容器的比例
                    parentRatio: [panelWidth, 530]
                  },
                  {
                    type: 'map',
                    component: 'event-related-detail',
                    // 父容器的比例
                    parentRatio: [982, 380]
                  }
                ]
              }
            ]
          },
          {
            id: 'equipment',
            component: 'equipment',
            routeName: 'equipment',
            span: 5,
            style: {
              paddingTop: space
            },
            // 设备监测二级子容器
            childList: [
              {
                id: 'equipment-list',
                component: 'equipment-list',
                span: 24,
                style: {
                  paddingBottom: space
                }
              }
            ]
          }
        ]
      },
      // 智能侦测
      {
        id: 'intelligent',
        direction: 'row',
        ratio: [panelWidth, 310],
        width: ['layoutLeft', 'width'],
        top: 0,
        right: 0,
        spanNum: 1, // 布局栅格总数
        childList: [
          {
            id: 'intelligent',
            component: 'intelligent',
            span: 1,
            // 详情配置
            detailConfig: [
              {
                type: 'panel',
                component: 'intelligent-detail',
                parentRatio: [panelWidth, 530]
              }
            ]
          }
        ],
        transitionType: 'right',
        style: {
          paddingBottom: space
        }
      },
      {
        id: 'layoutRight',
        type: 'child', // 标识为子路由的容器
        ratio: [panelWidth, 530],
        direction: 'column',
        top: ['intelligent', 'height'],
        right: 0,
        bottom: 0,
        style: {}
      },
      // 地图详情布局容器
      {
        id: 'mapDetail',
        isDetail: true,
        type: 'map',
        ratio: [982, 232],
        direction: 'row',
        right: ['layoutRight', 'width'], // 距离右边 = id为'layoutRight' 的 'width'
        left: ['layoutLeft', 'width'],
        bottom: 0,
        transitionType: 'bottom',
        style: {
          paddingLeft: '10px',
          paddingRight: '5px',
          zIndex: 10
        }
      },
      // 面板详情布局容器
      {
        id: 'panelDetail',
        isDetail: true,
        type: 'panel',
        // 父容器的比例
        parentRatio: [panelWidth, 530],
        direction: 'row',
        width: ['layoutRight', 'width'],
        right: 0,
        bottom: 0,
        transitionType: 'bottom',
        style: {
          paddingLeft: '5px'
        }
      },
      {
        id: 'intelligent-warn',
        direction: 'column',
        width: '0.5rem',
        height: '0.5rem',
        right: ['layoutRight', 'width', 20], // 距离右边 = id为'layoutRight' 的 'width'
        bottom: '1.6rem',
        style: {
          overflow: 'initial'
        },

        spanNum: 1, // 布局栅格总数
        childList: [
          // {
          //   id: 'intelligent-warn',
          //   component: 'intelligent-warn',
          //   span: 1,
          //   style: {
          //     overflow: 'initial'
          //   }
          // }
        ]
      }
    ],
    pageMapConfig: {
      componentProps: {
        menus: {
          // topConfig: ['lk', 'sxj', 'qbb', 'jdd', 'yjjd', 'dlsj'],
          topConfig: ['lk', 'sxj', 'qbb', 'jdd', 'dlsj'],
          left: ['layoutLeft', 'width', 20]
        },
        aroundCamera: {
          right: ['intelligent', 'width', 70]
        }
      }
    }
    // pageMapConfig: {
    //   // topConfig: ['lk', 'sxj', 'qbb', 'jdd', 'yjjd', 'yqfk', 'dlsj']
    //   topConfig: ['lk', 'sxj', 'qbb', 'jdd', 'yjjd', 'dlsj']
    // }
  }
}

// 重点车辆
const zdclConfig = {
  theme: 'light',
  type: '', // 页面类型
  header: {
    show: true,
    title: '江苏省智慧路网云控平台',
    style: {},
    roadType: 0
  },
  layout: {
    spanNum: 24, // 布局栅格总数
    // 布局容器列表
    containerList: [
      {
        id: 'layoutLeft', // 唯一标识
        ratio: [panelWidth, 840], // 比例
        direction: 'column', // 布局方式
        height: '100%',
        style: {},
        transitionType: 'left',
        // 子容器列表
        childList: [
          {
            id: 'car-list',
            component: 'car-list', // 组件名
            componentProps: {}, // 组件的属性
            span: 14, // 子容器的栅格数
            style: {} // 子容器样式
          },
          {
            id: 'car-detail',
            component: 'car-detail',
            routeName: 'car-detail',
            span: 10,
            style: {
              paddingTop: space
            }
          }
        ]
      }
    ]
  }
}

//  交建局
const jjjConfig = {
  theme: 'light',
  type: 'menu.second.detail', // 页面类型
  pageId: 'jjj',
  header: {
    show: true,
    title: '江苏交建施工管控运行平台',
    style: {},
    showComponent: true,
    logoUrl: 'jjj-logo',
    areaCode: 320000,
    roadType: 1
  },
  layout: {
    spanNum: 24, // 布局栅格总数
    // 布局容器列表
    containerList: [
      {
        id: 'layoutLeft', // 唯一标识
        ratio: [panelWidth, 840], // 比例
        direction: 'column', // 布局方式
        height: '100%',
        style: {},
        transitionType: 'left',
        // 子容器列表
        childList: [
          {
            id: 'traffic',
            component: 'traffic', // 组件名
            componentProps: {}, // 组件的属性
            routeName: 'traffic', // 菜单组件对应的路由名
            span: 5, // 子容器的栅格数
            style: {}, // 子容器样式
            // 交通态势二级子容器
            childList: [
              {
                id: 'traffic-warn',
                component: 'traffic-warn',
                span: 24,
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'traffic-warning-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'flow',
            component: 'flow',
            routeName: 'flow',
            span: 9,
            style: {
              paddingTop: space,
              paddingBottom: space
            },
            // 流量二级子容器
            childList: [
              {
                id: 'flow-car',
                component: 'flow-car',
                secondName: 'flow-car',
                span: 10,
                style: {
                  paddingBottom: space
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-car-detail'
                  }
                ]
              },
              {
                id: 'flow-channel',
                component: 'flow-channel',
                span: 14,
                style: {},
                componentProps: {
                  showType: 'road' // channel road
                },
                // 详情配置
                detailConfig: [
                  {
                    type: 'map',
                    component: 'flow-channel-detail'
                  }
                ]
              }
            ]
          },
          {
            id: 'event',
            component: 'event',
            routeName: 'event',
            span: 5,
            componentProps: {
              showType: 'highway' // network or other
            },
            // 事件二级子容器
            childList: [
              {
                id: 'event-list',
                component: 'event-list',
                span: 24,
                // 详情配置
                detailConfig: [
                  {
                    type: 'panel',
                    component: 'event-detail',
                    // 父容器的比例
                    parentRatio: [panelWidth, 530]
                  },
                  {
                    type: 'map',
                    component: 'event-related-detail',
                    // 父容器的比例
                    parentRatio: [982, 380]
                  }
                ]
              }
            ]
          },
          {
            id: 'equipment',
            component: 'equipment',
            routeName: 'equipment',
            span: 5,
            style: {
              paddingTop: space
            },
            // 设备监测二级子容器
            childList: [
              {
                id: 'equipment-list',
                component: 'equipment-list',
                span: 24,
                style: {
                  paddingBottom: space
                }
              }
            ]
          }
        ]
      },
      // 智能侦测
      {
        id: 'intelligent',
        direction: 'row',
        ratio: [panelWidth, 310],
        width: ['layoutLeft', 'width'],
        top: 0,
        right: 0,
        spanNum: 1, // 布局栅格总数
        childList: [
          {
            id: 'intelligent',
            component: 'intelligent',
            span: 1,
            // 详情配置
            detailConfig: [
              {
                type: 'panel',
                component: 'intelligent-detail',
                parentRatio: [panelWidth, 530]
              }
            ]
          }
        ],
        transitionType: 'right',
        style: {
          paddingBottom: space
        }
      },
      {
        id: 'layoutRight',
        type: 'child', // 标识为子路由的容器
        ratio: [panelWidth, 530],
        direction: 'column',
        top: ['intelligent', 'height'],
        right: 0,
        bottom: 0,
        style: {}
      },
      // 地图详情布局容器
      {
        id: 'mapDetail',
        isDetail: true,
        type: 'map',
        ratio: [982, 232],
        direction: 'row',
        right: ['layoutRight', 'width'], // 距离右边 = id为'layoutRight' 的 'width'
        left: ['layoutLeft', 'width'],
        bottom: 0,
        transitionType: 'bottom',
        style: {
          paddingLeft: '10px',
          paddingRight: '5px',
          zIndex: 10
        }
      },
      // 面板详情布局容器
      {
        id: 'panelDetail',
        isDetail: true,
        type: 'panel',
        // 父容器的比例
        parentRatio: [panelWidth, 530],
        direction: 'row',
        width: ['layoutRight', 'width'],
        right: 0,
        bottom: 0,
        transitionType: 'bottom',
        style: {
          paddingLeft: '5px'
        }
      },
      {
        id: 'intelligent-warn',
        direction: 'column',
        width: '0.5rem',
        height: '0.5rem',
        right: ['layoutRight', 'width', 20], // 距离右边 = id为'layoutRight' 的 'width'
        bottom: '1.6rem',
        style: {
          overflow: 'initial'
        },

        spanNum: 1, // 布局栅格总数
        childList: [
          // {
          //   id: 'intelligent-warn',
          //   component: 'intelligent-warn',
          //   span: 1,
          //   style: {
          //     overflow: 'initial'
          //   }
          // }
        ]
      }
    ],
    pageMapConfig: {
      topConfig: ['lk', 'sxj', 'jjj-sxj', 'qbb', 'jdd', 'yjjd', 'yqfk', 'dlsj']
    }
  }
}

/**
 * 根据页面类型获取配置
 * @param {*} type 页面类型
 * @returns
 */
export const getPageConfig = type => {
  let config = pageConig
  switch (type) {
    case 'zhfx':
      config = zhfxConfig
      break
    case 'yxjcgl':
      config = yxjcGlConfig
      break
    case 'yxjcgs':
      config = yxjcGsConfig
      break
    case 'zdcl':
      config = zdclConfig
      break
    case 'jjj':
      config = jjjConfig
      break

    default:
      // config = zhfxConfig
      break
  }
  return config
}
